﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Nservice.Billing.Messages;
using NServiceBus;

namespace Nservice.Sales.Server
{
    public class ChargedCreditHandler : IHandleMessages<ChargedCredit>
    {
        public void Handle(ChargedCredit message)
        {
            //store to the third part database of credit cards
            Console.WriteLine("Credit is now charged successfully");
        }
    }
}
